Why `initctl status tty1` gets `Unknown job: tty1`

Posted by UniMouS on Ask Ubuntu See other posts from Ask Ubuntu or by UniMouS
Published on 2014-08-24T15:17:05Z Indexed on 2014/08/24 16:28 UTC
Read the original article Hit count: 245

Filed under:
# initctl status tty1
initctl: Unknown job: tty1

But there is a tty1.conf file in /etc/init and I haven't modified it:

# cat /etc/init/tty1.conf
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345] and (
            not-container or
            container CONTAINER=lxc or
            container CONTAINER=lxc-libvirt)

stop on runlevel [!2345]

respawn
exec /sbin/getty -8 38400 tty1

© Ask Ubuntu or respective owner

Related posts about upstart